package com.yc.video;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
@EnableJpaRepositories(basePackages = "com.yc.video.dao")
@MapperScan("com.yc.video.mapper")
public class VideoMain {
	/**
	 * 基础通用模块
	 * @param args
	 */
	public static void main(String[] args) {
		SpringApplication.run(VideoMain.class, args);
	}
}
